package com.tianquan.mapper;

import com.tianquan.mybatis.Dish;
import org.apache.ibatis.annotations.*;

import java.util.List;


@Mapper
public interface DishMapper {

    Dish getById(@Param("id") Long id);

    @Select("select * from dish")
    List<Dish> list();

}
